package com.ql.gamelogm.entities;

import java.util.Date;

public class SearchHistory {
    private int id;
    private String operator;
    private String depository;
    private Date searchtime;
    private String sentence;
    private String result;
    private String time;

    public SearchHistory() {
    }

    public SearchHistory(int id,String operator, String depository, Date searchtime, String sentence, String result, String time) {
        this.id = id;
        this.operator=operator;
        this.depository = depository;
        this.searchtime = searchtime;
        this.sentence = sentence;
        this.result = result;
        this.time = time;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDepository() {
        return depository;
    }

    public void setDepository(String repository) {
        this.depository = repository;
    }

    public Date getSearchtime() {
        return searchtime;
    }

    public void setSearchtime(Date searchtime) {
        this.searchtime = searchtime;
    }

    public String getSentence() {
        return sentence;
    }

    public void setSentence(String sentence) {
        this.sentence = sentence;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    @Override
    public String toString() {
        return "SearchHistory{" +
                "id=" + id +
                ", operator='" + operator + '\'' +
                ", depository='" + depository + '\'' +
                ", searchtime=" + searchtime +
                ", sentence='" + sentence + '\'' +
                ", result='" + result + '\'' +
                ", time='" + time + '\'' +
                '}';
    }
}
